using Windows.Graphics.Display;

namespace RockHopper.TrainingCalculator.WinRT.Utils
{
    public static class DisplayPropertiesHelper
    {
        public static bool IsPortrait
        {
            get
            {
                return DisplayProperties.CurrentOrientation == DisplayOrientations.Portrait || 
                    DisplayProperties.CurrentOrientation == DisplayOrientations.PortraitFlipped;
            }
        }
    }
}